3.24 \(\int \frac {(c+d x)^2}{(b \tanh (e+f x))^{3/2}} \, dx\)

Optimal. Leaf size=1343 \[ \frac {2 \tanh ^{-1}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )^2 d^2}{(-b)^{3/2} f^3}+\frac {2 \tanh ^{-1}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right )^2 d^2}{b^{3/2} f^3}-\frac {4 \tanh ^{-1}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right ) \log \left (\frac {2 \sqrt {b}}{\sqrt {b}-\sqrt {b \tanh (e+f x)}}\right ) d^2}{b^{3/2} f^3}+\frac {4 \tanh ^{-1}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right ) \log \left (\frac {2 \sqrt {b}}{\sqrt {b}+\sqrt {b \tanh (e+f x)}}\right ) d^2}{b^{3/2} f^3}-\frac {2 \tanh ^{-1}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right ) \log \left (\frac {2 \sqrt {b} \left (\sqrt {-b}-\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}-\sqrt {b}\right ) \left (\sqrt {b}+\sqrt {b \tanh (e+f x)}\right )}\right ) d^2}{b^{3/2} f^3}-\frac {2 \tanh ^{-1}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right ) \log \left (\frac {2 \sqrt {b} \left (\sqrt {-b}+\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}+\sqrt {b}\right ) \left (\sqrt {b}+\sqrt {b \tanh (e+f x)}\right )}\right ) d^2}{b^{3/2} f^3}-\frac {4 \tanh ^{-1}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right ) \log \left (\frac {2}{1-\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}}\right ) d^2}{(-b)^{3/2} f^3}+\frac {2 \tanh ^{-1}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right ) \log \left (\frac {2 \left (\sqrt {b}-\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}+\sqrt {b}\right ) \left (1-\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}\right ) d^2}{(-b)^{3/2} f^3}+\frac {2 \tanh ^{-1}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right ) \log \left (-\frac {2 \left (\sqrt {b}+\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}-\sqrt {b}\right ) \left (1-\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}\right ) d^2}{(-b)^{3/2} f^3}+\frac {4 \tanh ^{-1}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right ) \log \left (\frac {2}{\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}+1}\right ) d^2}{(-b)^{3/2} f^3}-\frac {2 \text {Li}_2\left (1-\frac {2 \sqrt {b}}{\sqrt {b}-\sqrt {b \tanh (e+f x)}}\right ) d^2}{b^{3/2} f^3}-\frac {2 \text {Li}_2\left (1-\frac {2 \sqrt {b}}{\sqrt {b}+\sqrt {b \tanh (e+f x)}}\right ) d^2}{b^{3/2} f^3}+\frac {\text {Li}_2\left (1-\frac {2 \sqrt {b} \left (\sqrt {-b}-\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}-\sqrt {b}\right ) \left (\sqrt {b}+\sqrt {b \tanh (e+f x)}\right )}\right ) d^2}{b^{3/2} f^3}+\frac {\text {Li}_2\left (1-\frac {2 \sqrt {b} \left (\sqrt {-b}+\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}+\sqrt {b}\right ) \left (\sqrt {b}+\sqrt {b \tanh (e+f x)}\right )}\right ) d^2}{b^{3/2} f^3}-\frac {2 \text {Li}_2\left (1-\frac {2}{1-\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}}\right ) d^2}{(-b)^{3/2} f^3}+\frac {\text {Li}_2\left (1-\frac {2 \left (\sqrt {b}-\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}+\sqrt {b}\right ) \left (1-\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}\right ) d^2}{(-b)^{3/2} f^3}+\frac {\text {Li}_2\left (\frac {2 \left (\sqrt {b}+\sqrt {b \tanh (e+f x)}\right )}{\left (\sqrt {-b}-\sqrt {b}\right ) \left (1-\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right )}+1\right ) d^2}{(-b)^{3/2} f^3}-\frac {2 \text {Li}_2\left (1-\frac {2}{\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}+1}\right ) d^2}{(-b)^{3/2} f^3}+\frac {4 (c+d x) \tanh ^{-1}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {-b}}\right ) d}{(-b)^{3/2} f^2}+\frac {4 (c+d x) \tanh ^{-1}\left (\frac {\sqrt {b \tanh (e+f x)}}{\sqrt {b}}\right ) d}{b^{3/2} f^2}+\frac {\text {Int}\left ((c+d x)^2 \sqrt {b \tanh (e+f x)},x\right )}{b^2}-\frac {2 (c+d x)^2}{b f \sqrt {b \tanh (e+f x)}} \]

[Out]

4*d*(d*x+c)*arctanh((b*tanh(f*x+e))^(1/2)/(-b)^(1/2))/(-b)^(3/2)/f^2+2*d^2*arctanh((b*tanh(f*x+e))^(1/2)/(-b)^
(1/2))^2/(-b)^(3/2)/f^3+4*d*(d*x+c)*arctanh((b*tanh(f*x+e))^(1/2)/b^(1/2))/b^(3/2)/f^2+2*d^2*arctanh((b*tanh(f
*x+e))^(1/2)/b^(1/2))^2/b^(3/2)/f^3-4*d^2*arctanh((b*tanh(f*x+e))^(1/2)/b^(1/2))*ln(2*b^(1/2)/(b^(1/2)-(b*tanh
(f*x+e))^(1/2)))/b^(3/2)/f^3+4*d^2*arctanh((b*tanh(f*x+e))^(1/2)/b^(1/2))*ln(2*b^(1/2)/(b^(1/2)+(b*tanh(f*x+e)
)^(1/2)))/b^(3/2)/f^3-2*d^2*arctanh((b*tanh(f*x+e))^(1/2)/b^(1/2))*ln(2*b^(1/2)*((-b)^(1/2)-(b*tanh(f*x+e))^(1
/2))/((-b)^(1/2)-b^(1/2))/(b^(1/2)+(b*tanh(f*x+e))^(1/2)))/b^(3/2)/f^3-2*d^2*arctanh((b*tanh(f*x+e))^(1/2)/b^(
1/2))*ln(2*b^(1/2)*((-b)^(1/2)+(b*tanh(f*x+e))^(1/2))/((-b)^(1/2)+b^(1/2))/(b^(1/2)+(b*tanh(f*x+e))^(1/2)))/b^
(3/2)/f^3-4*d^2*arctanh((b*tanh(f*x+e))^(1/2)/(-b)^(1/2))*ln(2/(1-(b*tanh(f*x+e))^(1/2)/(-b)^(1/2)))/(-b)^(3/2
)/f^3+2*d^2*arctanh((b*tanh(f*x+e))^(1/2)/(-b)^(1/2))*ln(2*(b^(1/2)-(b*tanh(f*x+e))^(1/2))/((-b)^(1/2)+b^(1/2)
)/(1-(b*tanh(f*x+e))^(1/2)/(-b)^(1/2)))/(-b)^(3/2)/f^3+2*d^2*arctanh((b*tanh(f*x+e))^(1/2)/(-b)^(1/2))*ln(-2*(
b^(1/2)+(b*tanh(f*x+e))^(1/2))/((-b)^(1/2)-b^(1/2))/(1-(b*tanh(f*x+e))^(1/2)/(-b)^(1/2)))/(-b)^(3/2)/f^3+4*d^2
*arctanh((b*tanh(f*x+e))^(1/2)/(-b)^(1/2))*ln(2/(1+(b*tanh(f*x+e))^(1/2)/(-b)^(1/2)))/(-b)^(3/2)/f^3-2*d^2*pol
ylog(2,1-2*b^(1/2)/(b^(1/2)-(b*tanh(f*x+e))^(1/2)))/b^(3/2)/f^3-2*d^2*polylog(2,1-2*b^(1/2)/(b^(1/2)+(b*tanh(f
*x+e))^(1/2)))/b^(3/2)/f^3+d^2*polylog(2,1-2*b^(1/2)*((-b)^(1/2)-(b*tanh(f*x+e))^(1/2))/((-b)^(1/2)-b^(1/2))/(
b^(1/2)+(b*tanh(f*x+e))^(1/2)))/b^(3/2)/f^3+d^2*polylog(2,1-2*b^(1/2)*((-b)^(1/2)+(b*tanh(f*x+e))^(1/2))/((-b)
^(1/2)+b^(1/2))/(b^(1/2)+(b*tanh(f*x+e))^(1/2)))/b^(3/2)/f^3-2*d^2*polylog(2,1-2/(1-(b*tanh(f*x+e))^(1/2)/(-b)
^(1/2)))/(-b)^(3/2)/f^3+d^2*polylog(2,1-2*(b^(1/2)-(b*tanh(f*x+e))^(1/2))/((-b)^(1/2)+b^(1/2))/(1-(b*tanh(f*x+
e))^(1/2)/(-b)^(1/2)))/(-b)^(3/2)/f^3+d^2*polylog(2,1+2*(b^(1/2)+(b*tanh(f*x+e))^(1/2))/((-b)^(1/2)-b^(1/2))/(
1-(b*tanh(f*x+e))^(1/2)/(-b)^(1/2)))/(-b)^(3/2)/f^3-2*d^2*polylog(2,1-2/(1+(b*tanh(f*x+e))^(1/2)/(-b)^(1/2)))/
(-b)^(3/2)/f^3-2*(d*x+c)^2/b/f/(b*tanh(f*x+e))^(1/2)+Unintegrable((d*x+c)^2*(b*tanh(f*x+e))^(1/2),x)/b^2

________________________________________________________________________________________

Rubi [A]  time = 0.16, antiderivative size = 0, normalized size of antiderivative = 0.00, number of steps used = 0, number of rules used = 0, integrand size = 0, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.000, Rules used = {} \[ \int \frac {(c+d x)^2}{(b \tanh (e+f x))^{3/2}} \, dx \]

Verification is Not applicable to the result.

[In]

Int[(c + d*x)^2/(b*Tanh[e + f*x])^(3/2),x]

[Out]

(-2*(c + d*x)^2)/(b*f*Sqrt[b*Tanh[e + f*x]]) + (4*d*Defer[Int][(c + d*x)/Sqrt[b*Tanh[e + f*x]], x])/(b*f) + De
fer[Int][(c + d*x)^2*Sqrt[b*Tanh[e + f*x]], x]/b^2

Rubi steps

\begin {align*} \int \frac {(c+d x)^2}{(b \tanh (e+f x))^{3/2}} \, dx &=-\frac {2 (c+d x)^2}{b f \sqrt {b \tanh (e+f x)}}+\frac {\int (c+d x)^2 \sqrt {b \tanh (e+f x)} \, dx}{b^2}+\frac {(4 d) \int \frac {c+d x}{\sqrt {b \tanh (e+f x)}} \, dx}{b f}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]  time = 35.59, size = 0, normalized size = 0.00 \[ \int \frac {(c+d x)^2}{(b \tanh (e+f x))^{3/2}} \, dx \]

Verification is Not applicable to the result.

[In]

Integrate[(c + d*x)^2/(b*Tanh[e + f*x])^(3/2),x]

[Out]

Integrate[(c + d*x)^2/(b*Tanh[e + f*x])^(3/2), x]

________________________________________________________________________________________

fricas [F(-2)]  time = 0.00, size = 0, normalized size = 0.00 \[ \text {Exception raised: TypeError} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x+c)^2/(b*tanh(f*x+e))^(3/2),x, algorithm="fricas")

[Out]

Exception raised: TypeError >>  Error detected within library code:   integrate: implementation incomplete (co
nstant residues)

________________________________________________________________________________________

giac [A]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (d x + c\right )}^{2}}{\left (b \tanh \left (f x + e\right )\right )^{\frac {3}{2}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x+c)^2/(b*tanh(f*x+e))^(3/2),x, algorithm="giac")

[Out]

integrate((d*x + c)^2/(b*tanh(f*x + e))^(3/2), x)

________________________________________________________________________________________

maple [A]  time = 0.24, size = 0, normalized size = 0.00 \[ \int \frac {\left (d x +c \right )^{2}}{\left (b \tanh \left (f x +e \right )\right )^{\frac {3}{2}}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((d*x+c)^2/(b*tanh(f*x+e))^(3/2),x)

[Out]

int((d*x+c)^2/(b*tanh(f*x+e))^(3/2),x)

________________________________________________________________________________________

maxima [A]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {{\left (d x + c\right )}^{2}}{\left (b \tanh \left (f x + e\right )\right )^{\frac {3}{2}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x+c)^2/(b*tanh(f*x+e))^(3/2),x, algorithm="maxima")

[Out]

integrate((d*x + c)^2/(b*tanh(f*x + e))^(3/2), x)

________________________________________________________________________________________

mupad [A]  time = 0.00, size = -1, normalized size = -0.00 \[ \int \frac {{\left (c+d\,x\right )}^2}{{\left (b\,\mathrm {tanh}\left (e+f\,x\right )\right )}^{3/2}} \,d x \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((c + d*x)^2/(b*tanh(e + f*x))^(3/2),x)

[Out]

int((c + d*x)^2/(b*tanh(e + f*x))^(3/2), x)

________________________________________________________________________________________

sympy [A]  time = 0.00, size = 0, normalized size = 0.00 \[ \int \frac {\left (c + d x\right )^{2}}{\left (b \tanh {\left (e + f x \right )}\right )^{\frac {3}{2}}}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((d*x+c)**2/(b*tanh(f*x+e))**(3/2),x)

[Out]

Integral((c + d*x)**2/(b*tanh(e + f*x))**(3/2), x)

________________________________________________________________________________________